class host_if_base_seq extends uvm_sequence #(apb_seq_item);
`uvm_object_utils(host_if_base_seq)

// To get the register model
uart_env_config cfg;
uart_reg_block rm;

// Register model variables:
uvm_status_e status;
rand uvm_reg_data_t data;

function new(string name = "host_if_base_seq");
	super.new(name);
endfunction

task body;
	if(!uvm_config_db #(uart_env_config)::get(m_sequencer, "", "uart_env_config", cfg)) begin
		`uvm_error("body", "Unable to find uart_env_config in uvm_config_db")
	end
	rm = cfg.rm;
endtask: body

endclass: host_if_base_seq
